#ifndef _SKILLLIGHTNING_H_
#define _SKILLLIGHTNING_H_

#include "BaseSkill.h"
#include "cocos2d.h"

class SkillLightning : public BaseSkill
{

private:
	//===== GAME VARIABLES =====
	bool					skillEffectActivated;
	float					timeTaken;

	cocos2d::CCSprite *		_skillEffectHitSprite;

public:
	//===== CONSTRUCTOR =====
	SkillLightning();

	//===== DESTRUCTOR =====
	~SkillLightning();

	//====== FUNCTION =====
	static BaseSkill* 		loadSkill(cocos2d::CCString filename);

	virtual cocos2d::CCRect getSkillEffectRect();
	virtual void			activateSkill();

	virtual bool 			touchesBegan(cocos2d::CCPoint location, GameManager* mygamemanager);
	virtual void			update(float timeDiff, CatsManager* pCatsRef, int chargepoints);

};

#endif //_SKILLLIGHTNING_H_
